package com.work.pojo;

import java.util.List;

public class od {
    private Address address;
    private List<OrderDetail> list;
    private Order order;

    public od() {
    }

    public od(Address address, List<OrderDetail> list, Order order) {
        this.address = address;
        this.list = list;
        this.order = order;
    }

    @Override
    public String toString() {
        return "Parent{" +
                "address=" + address +
                ", list=" + list +
                ", order=" + order +
                '}';
    }

    public List<OrderDetail> getList() {
        return list;
    }

    public void setList(List<OrderDetail> list) {
        this.list = list;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
